import printCurrentTime as pct

pct.curtime()

print(format(1, '02x'))

print('{:02x}'.format(18))
x='{:02x}'.format(18)
print(type(x))

register_hex = format(18, '02x')
print(type(register_hex))